home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 2000-07-03 | 4.6 KB | 117 lines | [ TEXT/ttxt]
<!-- An inter-application message and batch processing format for XA.--> <?XA_VERSION_HISTORY DATE = '4/5/00' VERSION = '1.2' NAME = 'Scott Vorthmann' NOTES = 'added ImportExemplar' ?> <?XA_VERSION_HISTORY DATE = '12/7/99' VERSION = '1.0' NAME = 'Scott Vorthmann' NOTES = 'notification for all commands' ?> <?XA_VERSION_HISTORY DATE = '6/27/99' VERSION = '0.1' NAME = 'LeeBuck' NOTES = 'First cut.' ?> <?XA_DOC_PREFS PROMPT_WHEN_SAVING = 'true' LOG_CHANGES = 'false' ?> <!ENTITY % anyCommand "OpenSchema | CloseSchema | SaveSchema | SaveAsSchema | PrintDiagram | ImportExemplar | Exit"> <!--A command sent to XML Authority over a socket.--> <!ELEMENT XACommand (%anyCommand; )> <!--A specifier for the sender of the command. Syntax undetermined at this point.--> <!ATTLIST XACommand from CDATA #REQUIRED> <!-- A list of commands found in a batch (.xab) file --> <!ELEMENT XABatch (%anyCommand; )+> <!--Open the schema specified in the attribute uri. If the schema is already open, bring its window to the front. In either event respond with a SchemaOpened event.--> <!ELEMENT OpenSchema EMPTY> <!--Essentially a url (e.g. file:\\\c:\myschema.xdr).--> <!ATTLIST OpenSchema uri CDATA #REQUIRED> <!ATTLIST OpenSchema a-dtype NMTOKENS "uri uri"> <!--Close the schema specified in the attribute uri. If there are unsaved changes, the saveFirst attribute is used to determine the action. If successfully closed, a SchemaClosed response is sent.--> <!ELEMENT CloseSchema EMPTY> <!ATTLIST CloseSchema uri CDATA #REQUIRED> <!--Should the schema be saved before closing?--> <!ATTLIST CloseSchema saveFirst (yes | no | ask ) "ask"> <!ATTLIST CloseSchema a-dtype NMTOKENS "uri uri"> <!ELEMENT SaveAsSchema EMPTY> <!ATTLIST SaveAsSchema asuri CDATA #REQUIRED> <!--Essentially a url (e.g. file:\\\c:\myschema.xdr).--> <!ATTLIST SaveAsSchema uri CDATA #REQUIRED> <!ATTLIST SaveAsSchema a-dtype NMTOKENS "asuri uri uri uri"> <!--Saves the schema specified in the attribute uri. If there were unsaved changes, a SchemaSaved response is sent.--> <!ELEMENT SaveSchema EMPTY> <!ATTLIST SaveSchema uri CDATA #REQUIRED a-dtype NMTOKENS 'uri uri' > <!--Exits XML Authority. If there were unsaved changes, saveFirst determines how handled. If all documents successfully closed an Exited response is sent.--> <!ELEMENT Exit EMPTY> <!ATTLIST Exit saveFirst (yes | no | ask ) 'ask' > <!--#USAGE:Save the content model diagram of the specified element to a GIF file.--> <!ELEMENT PrintDiagram EMPTY> <!--#USAGE:Specifies which element to generate the content model diagram.--> <!ATTLIST PrintDiagram elementType CDATA #FIXED ""> <!--#USAGE:Specifies whether to expand the content model diagram fully or not.--> <!ATTLIST PrintDiagram expand (true | false ) "true"> <!--#USAGE:The uri of the image file to save to (as GIF).--> <!ATTLIST PrintDiagram image CDATA #FIXED ""> <!--#USAGE:URI of file to open or file to retrieve element for saving diagram. In the later case, can be unspecified and defaults to the current schema. --> <!ATTLIST PrintDiagram uri CDATA ""> <!ATTLIST PrintDiagram a-dtype NMTOKENS "image uri uri uri"> <!--A notification response sent by XA over a socket.--> <!ELEMENT XANotification (SchemaOpened | SchemaClosed | SchemaSaved | DiagramPrinted | Exited )> <!--A specifier for recipient of the command. Syntax undetermined at this point.--> <!ATTLIST XANotification to CDATA #REQUIRED> <!--The schema specified by uri has been opened.--> <!ELEMENT SchemaOpened EMPTY> <!ATTLIST SchemaOpened uri CDATA #REQUIRED a-dtype NMTOKENS 'uri uri' > <!--The schema specified by uri has been closed--> <!ELEMENT SchemaClosed EMPTY> <!ATTLIST SchemaClosed uri CDATA #REQUIRED a-dtype NMTOKENS 'uri uri' > <!--The schema specified by uri has been changed.--> <!ELEMENT SchemaSaved EMPTY> <!ATTLIST SchemaSaved uri CDATA #REQUIRED a-dtype NMTOKENS 'uri uri' > <!--The application has quit.--> <!ELEMENT Exited EMPTY> <!ELEMENT DiagramPrinted EMPTY> <!ELEMENT ImportExemplar EMPTY> <!--Essentially a url (e.g. file:\\\c:\myschema.xdr).--> <!ATTLIST ImportExemplar uri CDATA #REQUIRED> <!ATTLIST ImportExemplar asuri CDATA #REQUIRED> <!ATTLIST ImportExemplar a-dtype NMTOKENS "uri uri asuri uri">